package com.lzj.admin.service;

import java.util.List;

/**
 * @author luoyoumou
 * WeChat lym520ccy
 * <p>
 * IRbacService
 * @version 1.0
 * @date 2022-12-07 8:28
 */
public interface IRbacService {

    /**
     * 根据登录用户名查询分配的角色
     * @param userName
     * @return
     */
    List<String> findRolesByUserName(String userName);

    List<String> findAuthoritiesByRoleName(List<String> roleNames);
}
